<form class="layui-form layui-form-pane edit-form">
    <div class="layui-form-item">
        <label class="layui-form-label">
            轮播图
        </label>
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-sm upload-image" type="button">
                <i class="fa fa-image">
                </i>
                轮播图
            </button>
            <input class="upload-image" name="image" lay-verify="required" type="hidden" value="{$data['image']}"/>
            <div class="upload-image">
                <span>
                </span>
                <img class="upload-image" src="{$data['image']}"/>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-filter="editform" lay-submit="">
                保存
            </button>
            <button class="layui-btn layui-btn-primary layui-btn-cancel" type="button">
                取消
            </button>
        </div>
    </div>
</form>
